<?php

class Language extends EMongoDocument {

    public $lang_id;
    public $name;
    public $photo;
    public $order;
    public $active;

    public function attributeLabels() {
        return array(
            'lang_id' => 'lang_id',
            'name' => 'name',
            'photo' => 'photo',
            'order' => 'order',
            'active' => 'active',
        );
    }

    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function getCollectionName() {
        return 'languages';
    }

}

?>